package com.market.member.service;

import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.extension.service.IService;
import com.block.common.bean.CommonParam;
import com.block.common.model.dto.CommonReqDTO;
import com.block.common.vo.ResponseVo;
import com.block.db.entity.ApplicationInfo;
import com.block.db.entity.MemberInfo;
import com.block.common.model.dto.LoginReqDTO;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 
 * @since 2022-07-22
 */
public interface IMemberInfoService extends IService<MemberInfo> {

    ResponseVo toLogin(LoginReqDTO loginReqDTO, CommonReqDTO commonReqDTO, CommonParam commonParam);

    ResponseVo updateMemberInfo(Long uid, JSONObject jsonObject, CommonParam commonParam, ApplicationInfo applicationInfo);

    ResponseVo updateMemberInfoHandle(Long uid, JSONObject jsonObject, ApplicationInfo applicationInfo);

    ResponseVo getUserInfo(Long uid, String appId);

}
